package com.ecmp.demo.service;

import com.ecmp.core.dao.BaseEntityDao;
import com.ecmp.core.service.BaseEntityService;
import com.ecmp.demo.api.IStudentService;
import com.ecmp.demo.dao.StudentDao;
import com.ecmp.demo.entity.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * Created by Administrator on 2017/8/8.
 */
@Service
public class StudentService extends BaseEntityService<Student> implements IStudentService {

@Autowired
private StudentDao studentDao;

@Override
protected BaseEntityDao<Student> getDao() {
        return studentDao;
        }

        }
